<div class="body">
	<table class="form">
		<tr>
			<th colspan="2"><?php echo $this->language('INDEX RULE');?>:</th>
		</tr>
		<tr>
			<td width="180"><label><?php echo $this->language('List Area');?></label></td>
			<td>
				<?php echo $this->form()->textarea('rule[index][exp_area]', $this->rule->getExpArea(), array('cols' => '80', 'rows' => '4'));?>
				<code><?php echo $this->language('Regular Expression of Item list Area');?>.</code>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->language('Match Item');?></label></td>
			<td>
				<?php echo $this->form()->textarea('rule[index][exp_item]', $this->rule->getExpItem(), array('cols' => '80', 'rows' => '4'));?>
				<code><?php echo $this->language('Regular Expression of Item Matched');?>.</code>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->language('Matched Index');?><code>Example: 1</code><code>Numeric Only</code></label></td>
			<td>
				<code><?php echo $this->language('LINK');?></code>
				<?php echo $this->form()->text('rule[index][matched_link]', $this->rule->getMatchedLink(), array('size' => '8', 'maxlength' => '2'));?>
				<code><?php echo $this->language('TITLE');?></code>
				<?php echo $this->form()->text('rule[index][matched_title]', $this->rule->getMatchedTitle(), array('size' => '8', 'maxlength' => '2'));?>
			</td>
		</tr>
		<?php if($this->isNew) { ?>
		<tr>
			<td></td>
			<td>
				<span class="show">
					<input type="checkbox" name="newRule[index]" id="newRule-index" value="1">
					<label for="newRule-index" class="for-checkbox"><strong class="red"><?php echo $this->language('Is it a New Rule');?>?</strong></label>
				</span>
			</td>
		</tr>
		<?php } ?>
	</table>
</div>